package com.hopu.jq_day04.model;

public class StuInfo {
	int 	sid;
	String 	sname;
	String 	sex;
	int 	age;
	String	classes;
	String	sgroups;
	String	dorm;
	String	tel;
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getClasses() {
		return classes;
	}
	public void setClasses(String classes) {
		this.classes = classes;
	}
	public String getSgroups() {
		return sgroups;
	}
	public void setSgroups(String sgroups) {
		this.sgroups = sgroups;
	}
	public String getDorm() {
		return dorm;
	}
	public void setDorm(String dorm) {
		this.dorm = dorm;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	@Override
	public String toString() {
		return "StuInfo [sid=" + sid + ", sname=" + sname + ", sex=" + sex + ", age=" + age + ", classes=" + classes
				+ ", sgroups=" + sgroups + ", dorm=" + dorm + ", tel=" + tel + "]";
	}
	public StuInfo(int sid, String sname, String sex, int age, String classes, String sgroups, String dorm,
			String tel) {
		super();
		this.sid = sid;
		this.sname = sname;
		this.sex = sex;
		this.age = age;
		this.classes = classes;
		this.sgroups = sgroups;
		this.dorm = dorm;
		this.tel = tel;
	}
	
}
